package com.ruoyi.detection.service.impl;

import com.ruoyi.detection.mapper.DataAnalysisMapper;
import com.ruoyi.detection.service.DataAnalysisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author LiSuxuan
 * @date 2021年 08月 31日 15:54
 */
@Service
public class DataAnalysisServiceImpl implements DataAnalysisService {

    @Autowired
    private DataAnalysisMapper dataAnalysisMapper;

    @Override
    public List<String> selectInsectByDay(String date) {
        return dataAnalysisMapper.selectInsectByDay(date);
    }

    @Override
    public Integer selectInsectImgNum(String date) {
        return dataAnalysisMapper.selectInsectImgNum(date);
    }
}
